package org.hlopik.riverGuide.client;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.RootPanel;

/**
 * Main entry point.
 *
 * @author f
 */
public class MainEntryPoint implements EntryPoint {

    private ApplicationFacade facade;

    /** 
     * The entry point method, called automatically by loading a module
     * that declares an implementing class as an entry-point
     */
    public void onModuleLoad() {
        ApplicationFacade applicationFacade = ApplicationFacade.getInstance();
        applicationFacade.showIn(RootPanel.get());
    }
}
